package dao.common;

import models.Category;

import java.util.List;

public interface CategoryRepository {
    void add(Category category);

    List<Category> getAll(long shopId);

    Category getById(long id, long shopId);

    void remove(long id, long shopId);
}
